package com.example.anquan.repository;

import com.example.anquan.guanli.User;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface UserRepository extends JpaRepository<User, Integer> {
public User findByUsername(String username);
@Override
public List<User> findAll();
        }
